package cn.rengy.web.excelcompare;

import org.redisson.spring.starter.RedissonAutoConfiguration;
import org.redisson.spring.starter.RedissonAutoConfigurationV2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude = { RedissonAutoConfigurationV2.class, RedisAutoConfiguration.class},scanBasePackages = {"cn.base.web", "cn.rengy.web.excelcompare", "cn.rengy.web.excelsearch"})
@ServletComponentScan(basePackages={"cn.base.web", "cn.rengy.web.excelcompare", "cn.rengy.web.excelsearch"})
@EnableScheduling
public class ExcelCompareApplication {


    public static void main(String[] args) {
    	ApplicationContext ctx=
    	SpringApplication.run(ExcelCompareApplication.class, args);
//        String[] beanNames =  ctx.getBeanDefinitionNames();
//        for(String s:beanNames){
//            System.out.println(s+"="+ctx.getBean(s).getClass().getName());
//
//        }
    }
}